package com.kl.drs.core;

import java.util.List;
import java.util.Map;

public interface IBaseService<T> {
	public String ping();

	List<T> selectAll();

	T selectByPrimaryKey(Integer id);
	
	List<T> selectByParameter(T record);
	
	T insertSelective(T record);
	
	T updateByPrimaryKeySelective(T record);

	T deleteByPrimaryKey(Integer id);

	T softDeleteByPrimaryKey(Integer id);
	
	int insertOneRecording(T record);
	
	List<T> findList(Map<String,Object> condMap);
	
}
